package test;

import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;

public class template extends dashboard{
	private static final long serialVersionUID = 1L;
	public template() {
		setLayout(new BorderLayout());
		panelTop = new JPanel(new BorderLayout());
		panelTop.add(new JButton("Top"), BorderLayout.NORTH);
//		setTopPanel(panelTop);
		super.setTopPanel(panelTop);
		super.getTopPanel();
	}
	
	public static void main(String [] args) {
		SwingUtilities.invokeLater(new Runnable() {			
			@Override
			public void run() {
				JFrame frame = new JFrame();
				template t = new template();
				frame.add(t, BorderLayout.CENTER);
				frame.setPreferredSize(new Dimension(400, 300));
				frame.pack();
				frame.setVisible(true);
			}
		});
	}
	
	/*
	 * @param
	 */
	public JPanel panelTop;
	public JPanel panelLeft;
	public JPanel panelCenter;
	public JPanel panelFooter;
}
